package com.alphathink.BitMapUtil;

import java.lang.ref.WeakReference;

import android.graphics.drawable.ColorDrawable;

public class AsyncDrawable extends ColorDrawable{

	private WeakReference<BitmapLoadTask> reference = null;

	public AsyncDrawable(BitmapLoadTask loadTask){
		super();
		reference = new WeakReference<BitmapLoadTask>(loadTask);
	}
	
	public BitmapLoadTask getBitmapWorkerTask() {
        return reference.get();
    }
	
}
